Tmem: fix domain refcount leak by returning to simpler model
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jun 2010 21:12:36 +0000 (22:12 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jun 2010 21:12:36 +0000 (22:12 +0100)
commitc9b5c0a4b070dbe8e43d4b37309cde052a6e249a
treece483eda93dede441d8b7ae43ac1e53076bbf89e
parent2b19086bc33c6bed9319bbae9ece8b01b29f856c
Tmem: fix domain refcount leak by returning to simpler model
which claims a ref once when the tmem client is first associated
with the domain, and puts it once when the tmem client is
destroyed.

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
xen/common/tmem.c
xen/include/xen/tmem_xen.h